<?php

function test()
{
    return 'test helper';
}


function route_class()
{
    //currentRouteName 获取当前路由定义的name值
    return str_replace('.','-',\Illuminate\Support\Facades\Route::currentRouteName());
}
